﻿using System.ComponentModel.DataAnnotations;

namespace BLL.Services.Books.Listing
{
    public class BookFilter
    {
        public string Name { get; set; }

        [ScaffoldColumn(false)]
        public int AuthorId { get; set; }

        [Display(Name = "Author")]
        public string AuthorName { get; set; }

        [ScaffoldColumn(false)]
        public int CategoryId { get; set; }

        [Display(Name = "Category")]
        public string CategoryName { get; set; }
    }
}
